public class S_dily_seznam_Controller
extends java.lang.Object
implements javafx.fxml.Initializable
| Modifier and Type | Class and Description |
|---|---|
static class |
S_dily_seznam_Controller.Dily |
| Modifier and Type | Field and Description |
|---|---|
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
cislo_dil |
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
cislo_vykres |
private static java.sql.Connection |
conn |
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
ID_dil |
private javafx.scene.control.Label |
lbl_poc_dilu |
(package private) javafx.collections.ObservableList<S_dily_seznam_Controller.Dily> |
list |
private static org.apache.log4j.Logger |
log |
private javafx.scene.layout.AnchorPane |
pnl_hledani |
private javafx.scene.layout.AnchorPane |
pnl_nadpis |
private javafx.scene.layout.AnchorPane |
pnl_pozadi |
private javafx.scene.layout.AnchorPane |
pnl_tabulka |
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
program |
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
revize |
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
ser_cas |
private javafx.scene.control.TableView<S_dily_seznam_Controller.Dily> |
tbl_dil |
private com.jfoenix.controls.JFXTextField |
txt_cislo_dil |
private com.jfoenix.controls.JFXTextField |
txt_cislo_vykres |
private com.jfoenix.controls.JFXTextField |
txt_program |
private com.jfoenix.controls.JFXTextField |
txt_revize |
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> |
vyr_cas |
| Constructor and Description |
|---|
S_dily_seznam_Controller() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
aktualiz(javafx.event.ActionEvent event) |
(package private) void |
edit_dil(javafx.event.ActionEvent event) |
(package private) void |
get_datum_do(javafx.event.ActionEvent event) |
(package private) void |
hledej_v_db()
Metoda která slouží k zobrazení jen dílů, které odpovídají parametrům zadané do txt_cislo_dil, txt_program, txt_revize, txt_cislo_vykres.
|
private void |
ini_coll()
inicializace TableColumns tabulky s díly
|
void |
initialize(java.net.URL url,
java.util.ResourceBundle rb) |
(package private) void |
konec(javafx.event.ActionEvent event) |
(package private) void |
minimalizace(javafx.event.ActionEvent event) |
private void |
nastav_ID()
Metoda sloužící k nastavení barev pozadí, podle uživatelské role
|
(package private) void |
reset_c_dil(javafx.event.ActionEvent event) |
(package private) void |
reset_c_vykres(javafx.event.ActionEvent event) |
(package private) void |
reset_filtr(javafx.event.ActionEvent event) |
(package private) void |
reset_program(javafx.event.ActionEvent event) |
(package private) void |
reset_revize(javafx.event.ActionEvent event) |
(package private) void |
sez_prog_vykr(javafx.event.ActionEvent event) |
private void |
vsechny_data()
Zobrazí do tabulky všechny uložené díly v DB a do lbl_poc_dilu nastaví text s počtem dílů.
|
private static java.sql.Connection conn
private javafx.scene.layout.AnchorPane pnl_pozadi
private javafx.scene.layout.AnchorPane pnl_hledani
private javafx.scene.layout.AnchorPane pnl_tabulka
private javafx.scene.layout.AnchorPane pnl_nadpis
private com.jfoenix.controls.JFXTextField txt_cislo_dil
private com.jfoenix.controls.JFXTextField txt_cislo_vykres
private com.jfoenix.controls.JFXTextField txt_revize
private com.jfoenix.controls.JFXTextField txt_program
private javafx.scene.control.Label lbl_poc_dilu
private javafx.scene.control.TableView<S_dily_seznam_Controller.Dily> tbl_dil
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> cislo_dil
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> program
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> revize
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> cislo_vykres
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> ser_cas
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> vyr_cas
private javafx.scene.control.TableColumn<S_dily_seznam_Controller.Dily,java.lang.String> ID_dil
javafx.collections.ObservableList<S_dily_seznam_Controller.Dily> list
private static final org.apache.log4j.Logger log
public void initialize(java.net.URL url,
java.util.ResourceBundle rb)
initialize in interface javafx.fxml.Initializableprivate void nastav_ID()
private void ini_coll()
private void vsechny_data()
void reset_filtr(javafx.event.ActionEvent event)
void reset_c_dil(javafx.event.ActionEvent event)
void reset_c_vykres(javafx.event.ActionEvent event)
void reset_program(javafx.event.ActionEvent event)
void reset_revize(javafx.event.ActionEvent event)
void hledej_v_db()
void get_datum_do(javafx.event.ActionEvent event)
void minimalizace(javafx.event.ActionEvent event)
void konec(javafx.event.ActionEvent event)
void edit_dil(javafx.event.ActionEvent event)
void aktualiz(javafx.event.ActionEvent event)
void sez_prog_vykr(javafx.event.ActionEvent event)